<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%@include file="../../common/include_list_head.jsp" %>
    <script type="text/javascript" src="/clientui/js/nav/tab.js"></script>
    <script type="text/javascript">

        $( function() {
            var tab = new TabView( {
                containerId :'tab_menu',
                pageid :'page',
                cid :'tab1',
                position :"top"
            });
            tab.add( {
                id :'tab1_index0',
                title :"系统接入管理",
                url :"${basePath}/business/systemList-list.action",
                isClosed :false
            });
            tab.add( {
                id :'tab1_index1',
                title :"用户管理",
                url :"${basePath}/business/userAccountManager-list.action",
                isClosed :false
            });
            tab.add( {
                id :'tab1_index2',
                title :"资源管理",
                url :"${basePath}/id/idMenu-execute.action",
                isClosed :false
            });
            tab.add( {
                id :'tab1_index3',
                title :"权限管理",
                url :"${basePath}/id/idRole-list.action",
                isClosed :false
            });
            tab.add( {
                id :'tab1_index5',
                title :"用户组管理",
                url :"${basePath}/id/idGroup-list.action",
                isClosed :false
            });
            tab.activate("tab1_index1");
            var pagediv = document.getElementById("page");
            pagediv.style.height = document.body.scrollHeight + "px";
  //          alert(window.document.body.scrollHeight);
        });
    </script>
</head>

<body>
<div id="scrollContent">
    <div id="tab_menu"></div>
    <div id="page" style="border:solid 1px #cccccc;"></div>
</div>
<div>
</div>
</body>
</html>
